package a.i;

import a.c.d;
import a.c.k;
import a.c.z;

import java.util.Iterator;

public class q
{
  public static int a;
  
  public static k a(double[] paramArrayOfDouble)
  {
    return new c_(paramArrayOfDouble, null, null, null);
  }
  
  public static k a(int[] paramArrayOfInt)
  {
    return new c_(null, paramArrayOfInt, null, null);
  }
  
  public static k a(boolean[] paramArrayOfBoolean)
  {
    return new c_(null, null, paramArrayOfBoolean, null);
  }
  
  public static k a(Object[] paramArrayOfObject)
  {
    return new c_(null, null, null, paramArrayOfObject);
  }
  
  public static k a(double[] paramArrayOfDouble, int[] paramArrayOfInt, boolean[] paramArrayOfBoolean, Object[] paramArrayOfObject)
  {
    return new c_(paramArrayOfDouble, paramArrayOfInt, paramArrayOfBoolean, paramArrayOfObject);
  }
  
  public static k b(double[] paramArrayOfDouble)
  {
    return new a_(paramArrayOfDouble, null, null, null);
  }
  
  public static k b(int[] paramArrayOfInt)
  {
    return new a_(null, paramArrayOfInt, null, null);
  }
  
  public static k b(boolean[] paramArrayOfBoolean)
  {
    return new a_(null, null, paramArrayOfBoolean, null);
  }
  
  public static k b(Object[] paramArrayOfObject)
  {
    return new a_(null, null, null, paramArrayOfObject);
  }
  
  public static k b(double[] paramArrayOfDouble, int[] paramArrayOfInt, boolean[] paramArrayOfBoolean, Object[] paramArrayOfObject)
  {
    return new a_(paramArrayOfDouble, paramArrayOfInt, paramArrayOfBoolean, paramArrayOfObject);
  }
  
  public static k a(Object paramObject)
  {
    return new f_(paramObject);
  }
  
  public static k a(k paramk)
  {
    return new b_(paramk, true);
  }
  
  public static k b(k paramk)
  {
    return new b_(paramk, false);
  }
  
  public static k c(k paramk)
  {
    return new e_(paramk);
  }
  
  public static class d_
  {
    private final a.c.q a;
    z c;
    public static boolean d;
    
    public d_(a.c.q paramq)
    {
      this.a = paramq;
      this.c = new z();
    }
    
    public void a(Object paramObject, k paramk)
    {
      this.c.add(new a_(paramObject, this.a.c(paramObject)));
      this.a.a(paramObject, paramk);
    }
    
    public void a()
    {
      boolean bool2 = p.b;
      boolean bool1 = p.a;
      Iterator localIterator = this.c.iterator();
      do
      {
        do
        {
          a_ locala_;
          do
          {
            if (!localIterator.hasNext()) {
              break;
            }
            locala_ = (a_)localIterator.next();
            this.a.j(locala_.a);
          } while (locala_.c == null);
          this.a.a(locala_.a, locala_.c);
          if ((bool2) || ((!bool2) && (bool1))) {
            return;
          }
        } while (bool2);
      } while (!bool1);
      this.c.clear();
    }
    
    static class a_
    {
      Object a;
      k c;
      
      a_(Object paramObject, k paramk)
      {
        this.a = paramObject;
        this.c = paramk;
      }
    }
  }
  
  static class b_
    implements k
  {
    k a;
    boolean b;
    
    b_(k paramk, boolean paramBoolean)
    {
      this.a = paramk;
      this.b = paramBoolean;
    }
    
    public Object get(Object paramObject)
    {
      if (!p.b) {}
      return this.a.get(this.b ? ((d)paramObject).e() : ((d)paramObject).f());
    }
    
    public boolean getBool(Object paramObject)
    {
      if (!p.b) {}
      return this.a.getBool(this.b ? ((d)paramObject).e() : ((d)paramObject).f());
    }
    
    public int getInt(Object paramObject)
    {
      if (!p.b) {}
      return this.a.getInt(this.b ? ((d)paramObject).e() : ((d)paramObject).f());
    }
    
    public double getDouble(Object paramObject)
    {
      if (!p.b) {}
      return this.a.getDouble(this.b ? ((d)paramObject).e() : ((d)paramObject).f());
    }
  }
  
  static class e_
    extends p
  {
    k c;
    
    e_(k paramk)
    {
      this.c = paramk;
    }
    
    public boolean getBool(Object paramObject)
    {
      if (!p.b) {}
      return !this.c.getBool(paramObject);
    }
  }
  
  static class a_
    implements k
  {
    double[] a;
    int[] b;
    boolean[] c;
    Object[] d;
    
    a_(double[] paramArrayOfDouble, int[] paramArrayOfInt, boolean[] paramArrayOfBoolean, Object[] paramArrayOfObject)
    {
      this.a = paramArrayOfDouble;
      this.b = paramArrayOfInt;
      this.c = paramArrayOfBoolean;
      this.d = paramArrayOfObject;
    }
    
    public double getDouble(Object paramObject)
    {
      return this.a[((a.c.e)paramObject).f()];
    }
    
    public int getInt(Object paramObject)
    {
      return this.b[((a.c.e)paramObject).f()];
    }
    
    public boolean getBool(Object paramObject)
    {
      return this.c[((a.c.e)paramObject).f()];
    }
    
    public Object get(Object paramObject)
    {
      return this.d[((a.c.e)paramObject).f()];
    }
  }
  
  static class f_
    extends p
  {
    private Object c;
    
    f_(Object paramObject)
    {
      this.c = paramObject;
    }
    
    public Object get(Object paramObject)
    {
      return this.c;
    }
    
    public double getDouble(Object paramObject)
    {
      return ((Number)this.c).doubleValue();
    }
    
    public int getInt(Object paramObject)
    {
      return ((Number)this.c).intValue();
    }
    
    public boolean getBool(Object paramObject)
    {
      return ((Boolean)this.c).booleanValue();
    }
  }
  
  static class c_
    implements k
  {
    double[] a;
    int[] b;
    boolean[] c;
    Object[] d;
    
    c_(double[] paramArrayOfDouble, int[] paramArrayOfInt, boolean[] paramArrayOfBoolean, Object[] paramArrayOfObject)
    {
      this.a = paramArrayOfDouble;
      this.b = paramArrayOfInt;
      this.c = paramArrayOfBoolean;
      this.d = paramArrayOfObject;
    }
    
    public double getDouble(Object paramObject)
    {
      return this.a[((d)paramObject).d()];
    }
    
    public int getInt(Object paramObject)
    {
      return this.b[((d)paramObject).d()];
    }
    
    public boolean getBool(Object paramObject)
    {
      return this.c[((d)paramObject).d()];
    }
    
    public Object get(Object paramObject)
    {
      return this.d[((d)paramObject).d()];
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.i.q

 * JD-Core Version:    0.7.0.1

 */